package model;

//import javax.persistence.*;
import java.sql.Timestamp;

/**
 * Created by eleven on 15/11/16.
 */
//@Entity
//@Table(name = "t_alarm_action_achedule_setting", schema = "", catalog = "datacenter")
public class TAlarmActionAcheduleSettingEntity {
    private int id;
    private String device;
    private String province;
    private Timestamp createtime;
    private int amount;
    private int intervalminutes;
    private Timestamp updatetime;

//    @Id
//    @Column(name = "id")
//    public int getId() {
//        return id;
//    }
//
//    public void setId(int id) {
//        this.id = id;
//    }
//
//    @Basic
//    @Column(name = "device")
//    public String getDevice() {
//        return device;
//    }
//
//    public void setDevice(String device) {
//        this.device = device;
//    }
//
//    @Basic
//    @Column(name = "province")
//    public String getProvince() {
//        return province;
//    }
//
//    public void setProvince(String province) {
//        this.province = province;
//    }
//
//    @Basic
//    @Column(name = "createtime")
//    public Timestamp getCreatetime() {
//        return createtime;
//    }
//
//    public void setCreatetime(Timestamp createtime) {
//        this.createtime = createtime;
//    }
//
//    @Basic
//    @Column(name = "amount")
//    public int getAmount() {
//        return amount;
//    }
//
//    public void setAmount(int amount) {
//        this.amount = amount;
//    }
//
//    @Basic
//    @Column(name = "intervalminutes")
//    public int getIntervalminutes() {
//        return intervalminutes;
//    }
//
//    public void setIntervalminutes(int intervalminutes) {
//        this.intervalminutes = intervalminutes;
//    }
//
//    @Basic
//    @Column(name = "updatetime")
//    public Timestamp getUpdatetime() {
//        return updatetime;
//    }
//
//    public void setUpdatetime(Timestamp updatetime) {
//        this.updatetime = updatetime;
//    }
//
//    @Override
//    public boolean equals(Object o) {
//        if (this == o) return true;
//        if (o == null || getClass() != o.getClass()) return false;
//
//        TAlarmActionAcheduleSettingEntity that = (TAlarmActionAcheduleSettingEntity) o;
//
//        if (id != that.id) return false;
//        if (amount != that.amount) return false;
//        if (intervalminutes != that.intervalminutes) return false;
//        if (device != null ? !device.equals(that.device) : that.device != null) return false;
//        if (province != null ? !province.equals(that.province) : that.province != null) return false;
//        if (createtime != null ? !createtime.equals(that.createtime) : that.createtime != null) return false;
//        if (updatetime != null ? !updatetime.equals(that.updatetime) : that.updatetime != null) return false;
//
//        return true;
//    }
//
//    @Override
//    public int hashCode() {
//        int result = id;
//        result = 31 * result + (device != null ? device.hashCode() : 0);
//        result = 31 * result + (province != null ? province.hashCode() : 0);
//        result = 31 * result + (createtime != null ? createtime.hashCode() : 0);
//        result = 31 * result + amount;
//        result = 31 * result + intervalminutes;
//        result = 31 * result + (updatetime != null ? updatetime.hashCode() : 0);
//        return result;
//    }
}
